package com.tao.erp.goods.dao;

import java.util.List;

import com.tao.erp.goods.pojo.Supplier;

public interface SupplierMapper {
	
	/**
	 * 多条件查询Supplier集合
	 * @param supplier
	 * @return
	 */
	public List<Supplier> selectSupplierList(Supplier supplier);
	
	/**
	 * 通过id查询Supplier
	 * @param uuid
	 * @return
	 */
	public Supplier selectSupplierById(Integer uuid);
	/**
	 * 添加Supplier
	 * @param supplier
	 * @return
	 */
	public int insertSupplier(Supplier supplier);
	
	/**
	 * 通过ID删除Suplier
	 * @param uuid
	 * @return
	 */
	public int deleteSupplierById(Integer uuid);
	
	/**
	 * 通过ID修改Supplier
	 * @param supplier
	 * @return
	 */
	public int updateSupplier(Supplier supplier);
	
}
